package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yc.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 请假表;
 * @date : 2023-6-28
 */
@Data
@ApiModel(value = "请假表",description = "")
@TableName("leavere_quests")
public class LeavereQuests extends BaseEntity implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer id ;
    /** 学生Id */
    @ApiModelProperty(name = "学生Id",notes = "")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String stuid ;
    /** 请假时段开始 */
    @ApiModelProperty(name = "请假时段开始",notes = "")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String requestStart ;
    /** 请假时段结束 */
    @ApiModelProperty(name = "请假时段结束",notes = "")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String requestEnd ;
    /** 图片或证明材料 */
    @ApiModelProperty(name = "图片或证明材料",notes = "")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String imagepath ;
    /** 描述 */
    @ApiModelProperty(name = "描述",notes = "")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String reason ;
}
